<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="../assets/css/article_cat.css">
</head>

<body>
    <div class="layui-card">
        <div class="layui-card-header">卡片面板
            <button type="button" class="layui-btn">一个标准的按钮</button>
        </div>
        <div class="layui-card-body">
            <table class="layui-table">
                <colgroup>
                    <col width="150">
                    <col width="200">
                    <col>
                </colgroup>
                <thead>
                    <tr>
                        <th>昵称</th>
                        <th>加入时间</th>
                        <th>签名</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>

                </tbody>
            </table>


        </div>
    </div>




</body>
<script type="text/html" id="edit-cate ">
    <form lay-filter='edit' class=" layui-form edit-form ">
        <input type="hidden" name="Id" id="">
        <div class="layui-form-item">
            <label class="layui-form-label">输入框</label>
            <div class="layui-input-block">
                <input type="text" name="name" equired lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">输入框</label>
            <div class="layui-input-block">
                <input type="text" name="alias" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
    </form>
</script>


<script type="text/html" id="layer-add">
    <form class="edit-form  add-form ">

        <div class="layui-form-item">
            <label class="layui-form-label">输入框</label>
            <div class="layui-input-block">
                <input type="text" name="name" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input edit">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">输入框</label>
            <div class="layui-input-block">
                <input type="text" name="alias" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
    </form>


</script>

<script type="text/html" id="text-content">
    {{each data}}
    <tr>
        <td>{{$value.Id}}</td>
        <td>{{$value.name}}</td>
        <td>{{$value.alias}}</td>
        <td>
            <button type="button" data-id='{{$value.Id}}' class="layui-btn layui-btn-xs layui-btn-norma">编辑</button>
            <button type="button" data-id='{{$value.Id}}' class="delete   add-cat   layui-btn layui-btn-xs layui-btn-danger">修改</button>
        </td>
    </tr>
    {{/each}}
</script>
<script src="../assets/lib/template-web.js"></script>
<script src="../assets/lib/layui/layui.all.js "></script>
<script src="../assets/lib/jquery.js "></script>
<script src="../assets/js/baseAPI.js "></script>
<script src="../assets/js/user_avatar.js "></script>

</html>